package br.edu.ifrn.sgp.resources;

import java.util.HashSet;
import java.util.Set;

import javax.ws.rs.core.Application;

public class WebSGPApplication extends Application {
	
	private Set<Object> singletons = new HashSet<Object>();

	public WebSGPApplication() {
		singletons.add(new LoginResource());
		singletons.add(new NoticiaResource());
		singletons.add(new DocumentoResource());
		singletons.add(new ProcessoResource());
		singletons.add(new ArquivoResource());
	}
		

	@Override
	public Set<Object> getSingletons() {
		return singletons;
	}

}
 